Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.dam.urlservice--urlpatterns

This contribution is part of XML component org.nuxeo.dam.urlservice inside nuxeo-dam-jsf-5.8.jar

Extension Point

Extension point urlpatterns of component URLService.

Contributed Items

  • <urlPattern enabled="true" name="dam">
          <defaultURLPolicy>false</defaultURLPolicy>
          <needBaseURL>true</needBaseURL>
          <needRedirectFilter>true</needRedirectFilter>
          <needFilterPreprocessing>true</needFilterPreprocessing>
          <codecName>docpathdam</codecName>
          <actionBinding>
            #{damSearchActions.loadPermanentLink}
          </actionBinding>
          <documentViewBindingApplies>
            #{mainTabsActions.isOnMainTab('dam')}
          </documentViewBindingApplies>
          <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
          <newDocumentViewBinding>
            #{restHelper.getNewDocumentView(null)}
          </newDocumentViewBinding>
          <bindings>
            <binding name="tabIds">#{damActions.damMainTab}</binding>
            <binding callGetter="false" name="language">
              #{restHelper.localeString}
            </binding>
            <binding callGetter="true" name="contentViewName">
              #{damSearchActions.currentContentViewName}
            </binding>
            <binding callGetter="true" name="currentPage">
              #{damSearchActions.currentPage}
            </binding>
            <binding callGetter="true" name="pageSize">
              #{damSearchActions.pageSize}
            </binding>
            <binding callGetter="false" name="state">
              #{damSearchActions.state}
            </binding>
          </bindings>
        </urlPattern>

XML Source

<extension point="urlpatterns" target="org.nuxeo.ecm.platform.ui.web.rest.URLService">

    <urlPattern enabled="true" name="dam">
      <defaultURLPolicy>false</defaultURLPolicy>
      <needBaseURL>true</needBaseURL>
      <needRedirectFilter>true</needRedirectFilter>
      <needFilterPreprocessing>true</needFilterPreprocessing>
      <codecName>docpathdam</codecName>
      <actionBinding>
        #{damSearchActions.loadPermanentLink}
      </actionBinding>
      <documentViewBindingApplies>
        #{mainTabsActions.isOnMainTab('dam')}
      </documentViewBindingApplies>
      <documentViewBinding>#{restHelper.documentView}</documentViewBinding>
      <newDocumentViewBinding>
        #{restHelper.getNewDocumentView(null)}
      </newDocumentViewBinding>
      <bindings>
        <binding name="tabIds">#{damActions.damMainTab}</binding>
        <binding callGetter="false" name="language">
          #{restHelper.localeString}
        </binding>
        <binding callGetter="true" name="contentViewName">
          #{damSearchActions.currentContentViewName}
        </binding>
        <binding callGetter="true" name="currentPage">
          #{damSearchActions.currentPage}
        </binding>
        <binding callGetter="true" name="pageSize">
          #{damSearchActions.pageSize}
        </binding>
        <binding callGetter="false" name="state">
          #{damSearchActions.state}
        </binding>
      </bindings>
    </urlPattern>

  </extension>